package com.example.demo.Service;

import com.example.demo.model.Book;
import com.example.demo.model.Borrow;
import com.example.demo.model.Reader;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ReaderService {
    public Reader  findReader(Integer reader_id);
    public Integer modifyReader(Reader reader);

    public Book queryBook(String book_name);
    public List<Borrow> queryBorrow(Integer reader_id);
    public  List<Reader> getReaderList();

    public Integer addReader(Reader reader);
    public Integer deleteReader(Integer reader_id);
}
